package del2;

public class Main1 {
	
	public static void main(String[] args) {

		Person person = new Person();
		
		try {
			person.setAge(-1);
		}
		
		catch (Exception e) {
			System.out.println(e.getMessage());
		}

		person.printAge();

	}
	
}
